// import { useState,useRef} from 'react';


import useStore from '@/zustand';



const New = ()=>{
    const {count,channel,setChannel,inc} = useStore();
    // let count = 0;
    console.log(count);
    const handleClick = ()=>{
        setChannel(99)

    }
    
    return(
        <div>
            <button onClick={handleClick}>+{channel}</button>
        </div>
    )
}
export default New;